package com.bdqn;


import com.bdqn.dao.UserDao;
import com.bdqn.pojo.SysUser;

public class UserServiceImpl implements UserService {
    private UserDao userDao;
    public UserServiceImpl(){}
    public UserServiceImpl(UserDao userDao){
        this.userDao=userDao;
    }
    @Override
    public void save(SysUser user) {
        userDao.save(user);
    }
    public void setUserDao(UserDao userDao){
        this.userDao=userDao;
    }
}
